<?php
namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class Goods extends Model
{

    protected $table = 'goods';

    protected $fillable = [
        'store_id',
        'cid',
        'c_name',
        'bar_code',
        'name',
        'price',
        'main_image',
        'sub_images',
        'detail',
        'subtitle',
        'tag_ids', //商品标签id集,多个用,隔开
        'standard_ids', //商品规格id集,多个用,隔开
        'attribute_ids', //商品属性id集,多个用,隔开
        'unit',
        'is_recommend',
        'stock',
        'status',
        'sort'
    ];


}
